home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Games
/
1,000 Games - Disk 1.iso
/
arcade
/
rexdemo
/
lines.rpp
< prev
next >
Wrap
Text File
|
1996-10-26
|
513b
|
33 lines
{line.rpp}
randomize;
line(0,0,319,199);
var n: number;
var x1: number;
var y1: number;
var x2: number;
var y2: number;
var s: string;
var test: number;
s := "mike " + "johnson";
test := (((5+5) * 2) / 2) + 5;
println("The number is: ", test);
println(test > 20);
println(test = 15);
setcolor(145);
println(s);
loop(n=1 to 1000)
x1 := rand(0, 319);
y1 := rand(0, 199);
x2 := rand(0, 319);
y2 := rand(0, 199);
setcolor(rand(1, 255));
line(x1, y1, x2, y2);
endl;